package com.evan.wj.pojo;

public class ViewNode {
    private Node node;
    private Book book;

    public Node getNode() {
        return node;
    }

    public void setNode(Node node) {
        this.node = node;
    }

    public Book getBook() {
        return book;
    }

    public void setBook(Book book) {
        this.book = book;
    }

    public ViewNode(){

    }

    public ViewNode(Node node, Book book) {
        this.node = node;
        this.book = book;
    }

    @Override
    public String toString() {
        return "ViewNode{" +
                "node=" + node +
                ", book=" + book +
                '}';
    }
}
